This is Navigation
<?php
if ($this -> session -> userdata('logged_in')) {
	echo anchor('home','Home');
	switch ($kode_privilege) {
		case '0':
			echo anchor('nota','Nota');
			break;

		case '1':
			break;

		case '2':
			echo anchor('nota','Nota');
			break;

		case '3':
			break;
		
		default:
			# code...
			break;
	} 
	if ($kode_member != null) {
		echo anchor('nota','Member');
	}
} ?>